Logic Programming for the Real World
نویسندگان
چکیده
1 The objective Logic programming languages have been around for more than twenty years. Despite their theoretical advantages over conventional programming languages, they have not had signiicant impact on the computer industry. Most of the 500 applications on the Prolog 1000 list 1 are small by industrial standards (fewer than ten exceed 100,000 lines of code), and very few have a user base exceeding a hundred people. We believe that changing this situation and establishing logic programming as a major paradigm in the non-academic world is an appropriate objective for a successor to Prolog. Convincing programmers to switch to a new language from the languages they are currently using requires the new language to meet two criteria. First, the new language must be demonstrably superior to the user's current language in at least one aspect, and this superiority must be realizable as an economic advantage. Second, the new language must not lack any of the qualities that the programmer values in his or her current language. To meet the rst criterion, a new logic programming language need only realize the advantages that have been promised by logic programming advocates since the inception of the eld. These advantages include the following. Logic programming languages are very expressive, high level languages that allow programmers to concentrate on what must be done, rather than how it should be done. By automating some of their more mundane tasks, logic programming allows programmers to spend their time on more productive endeavors. Automatic memory management, automatic management of searches, and transparent interfaces to relational and deductive databases are three examples. (The last two are unique to logic programming; they are not shared by functional languages.) Logic programming languages have much more useful formal semantics. This makes the automatic analysis and transformation of logic programs much simpler and therefore much more eeective than the analysis and transformation of imperative programs. In theory, this should allow programmers to worry less about eeciency, which again makes them more productive. The semantics of logic programming languages need not prescribe an order of evaluation, which makes it much easier for a compiler to emit parallel code. By comparison, the automatic parallelization of code written in an imperative language requires extensive non-local analysis of the program, and for many programs acceptable results require signiicant user intervention 2]. Logic programming languages have the potential to make debugging much easier, since one can implement …
منابع مشابه
Design and PLC Implementation for Speed Control of DC Motor using Fuzzy Logic
In this article, a speed control of DC motor is designed and illustrated using fuzzy logic-based programmable logic controller (PLC). The DC motor is an attractive part of electrical equipment in many industrial applications requiring variable speed and load specifications due to its ease of controllability. The designed system is consisted of three main parts including programmable logic contr...
متن کاملFuzzy Real-Time Optimization of the Tennessee Eastman Challenge Process
A Real-Time Optimization (RTO) strategy incorporating the fuzzy sets theory is developed, where the problem constraints obtained from process considerations are treated in fuzzy environment. Furthermore, the objective function is penalized by a fuzzified form of the key process constraints. To enable using conventional optimization techniques, the resulting fuzzy optimization problem is the...
متن کاملA new approach for solving neutrosophic integer programming problems
Linear programming is one of the most important usages of operation research methods in real life, that includes of one objective function and one or several constraints which can be in the form of equality and inequality. Most of the problems in the real world are include of inconsistent and astute uncertainty, because of this reason we can’t obtain the optimal solution easily. In this paper, ...
متن کاملA Defined Benefit Pension Fund ALM Model through Multistage Stochastic Programming
We consider an asset-liability management (ALM) problem for a defined benefit pension fund (PF). The PF manager is assumed to follow a maximal fund valuation problem facing an extended set of risk factors: due to the longevity of the PF members, the inflation affecting salaries in real terms and future incomes, interest rates and market factors affecting jointly the PF liability and asset p...
متن کاملA Fast and Self-Repairing Genetic Programming Designer for Logic Circuits
Usually, important parameters in the design and implementation of combinational logic circuits are the number of gates, transistors, and the levels used in the design of the circuit. In this regard, various evolutionary paradigms with different competency have recently been introduced. However, while being advantageous, evolutionary paradigms also have some limitations including: a) lack of con...
متن کاملA fuzzy mixed-integer goal programming model for a parallel machine scheduling problem with sequence-dependent setup times and release dates
This paper presents a new mixed-integer goal programming (MIGP) model for a parallel machine scheduling problem with sequence-dependent setup times and release dates. Two objectives are considered in the model to minimize the total weighted flow time and the total weighted tardiness simultaneously. Due to the com-plexity of the above model and uncertainty involved in real-world scheduling probl...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995